Fix accels added after the window was shown not working
authorBastien Nocera <hadess@hadess.net>
Fri, 10 May 2013 14:04:11 +0000 (16:04 +0200)
committerBastien Nocera <hadess@hadess.net>
Mon, 13 May 2013 06:57:06 +0000 (08:57 +0200)
commit98d33803fbd0314dbece535bf24497cbf70dd364
tree28d493f879cfa364eb366f2cea2e1b5d7456e562
parent9289156889edf9f45d5fdcde846d3c209746dbbf
Fix accels added after the window was shown not working

GtkApplicationWindow would only update its list of captured accels
when realizing the window. This meant that keyboard shortcuts added
after the window was realised (for example, added by plugins) would
be non-functional.

Solve this by updating our accels every time the accel map changes,
not only when realizing the window.

https://bugzilla.gnome.org/show_bug.cgi?id=700079
gtk/gtkapplicationwindow.c